<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<table border="1">
    <tr>
        <td>序号</td>
        <td>标题</td>
        <td>内容</td>
        <td>类型</td>
        <td>操作</td>
    </tr>
    {volist name="arr" id="a" mod="2"}
    <tr  {eq name="mod" value="0"}style="color: red;"{else}style="color: blue;" {/eq}>
    <td><{$a['id']}></td>
    <td><{$a['title']}></td>
    <td><{$a['content']}></td>
    <td><{$a['type']}></td>
    <td><a href="">修改</a>|<a href="">删除</a></td>
    </tr>
    {/volist}
</table>

</body>
</html>
